/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package main;

import java.io.IOException;
import javax.xml.parsers.ParserConfigurationException;
import org.xml.sax.SAXException;
import plan.NeuerEintrag;
import plan.StundenplanMain;
import plan.ZeigeEintrag;

/**
 *
 * @author tanselkacamak
 */
public class Main {
    private StundenplanMain plan;
    private NeuerEintrag neu;
    private ZeigeEintrag zeige;
    /**
     * @param args the command line arguments
     */
    private Main() throws ParserConfigurationException, SAXException, IOException{
        plan = new StundenplanMain();
        plan.setVisible(true);
    }
    public static void main(String[] args) throws ParserConfigurationException, SAXException, IOException {
      
        new Main();
        
      
    }
    
    public void oeffneNeuerEintrag(){
        neu = new NeuerEintrag();
        neu.setVisible(true);
    }
    public void schlieseNeuerEintrag(){
       neu.setVisible(false);
    }
}
